<div class="row contentBox">
    <app-sidebar-theme></app-sidebar-theme>
    <div [ngClass]="{'contentArea_rightDiv_project right-full':isActive, 'contentBox_project right-off':!isActive }">
        <div class="row txtTitle">
            <input matInput type="text" class="input_style" #queryCriteria="ngModel" name="searchData" placeholder="请输入主题词标签名称检索"
                (input)="changesearch()" (keyup.enter)="changesearch()" [(ngModel)]="searchData" *ngIf="right['systemThemeTag']['query']"/>
            <button class="btn btn-search btn-blue" style="margin-right: 10px;" (click)="search()" *ngIf="right['systemThemeTag']['query']" mat-button>查询
            </button>
            <button class="btn btn-blue" data-toggle="modal" mat-button data-target="#themeTagAdd" *ngIf="right['systemThemeTag']['create']" (click)="initService._init(1)">新增</button>

            <button class="btn btn-orange" data-toggle="modal" [disabled]="removeTableService?._isEmpty()" *ngIf="right['systemThemeTag']['batchDelete']" data-target="#themeTagDelete"
                mat-button>删除</button>

        </div>
        <!-- 表格 BEGIN -->
        <app-theme-tag-table #table></app-theme-tag-table>
        <!-- 表格 end -->

        <!-- 分页 BEGIN -->
        <app-pagination [getTotalItems]="table.total" (isLoadTableFromPagination)="_pagination($event)">
        </app-pagination>
        <!-- 分页 END -->
    </div>
</div>
<!--content  end-->

<!--新增弹窗 BEGIN-->
<app-theme-tag-add (onSubmit)="table.getThemeWordsLabelList()"></app-theme-tag-add>
<!--新增弹窗 END-->